@if (!hasError) {
} @else {

Oops, authentication has failed.

or
}