Skip to content

Commit 5b05f11

Browse files
committed
adjusted the login to go to another page when the login fails
1 parent d1dd7c6 commit 5b05f11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/LocalAuthentication/Routing/webroutes/WebHandlers.login.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extension LocalAuthWebHandlers {
3939
} else {
4040
context["msg_title"] = "Login Error."
4141
context["msg_body"] = "Username or password not supplied"
42-
template = "views/login"
42+
template = "views/loginError"
4343
}
4444
response.render(template: template, context: context)
4545
response.completed()

0 commit comments

Comments
 (0)