Skip to content

Commit

Permalink
fix: username -> public key
Browse files Browse the repository at this point in the history
  • Loading branch information
decentral1se committed Apr 6, 2022
1 parent 830b0b4 commit 7f3d86b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions web/i18n/defaults/active.de.toml
Expand Up @@ -62,8 +62,8 @@ AuthWithSSBError = "Anmeldung fehlgeschlagen. Stelle sicher, dass du eine SSB-Ap

# auth with password
AuthFallbackTitle = "Mit Passwort anmelden"
AuthFallbackWelcome = "Eine Anmeldung mit Benutzername und Passwort ist nur möglich, wenn der Administrator dir einen solchen Zugang gegeben hat."
AuthFallbackInstruct = "Alternative Anmeldemethode, falls du einen Benutzernamen und ein Passwort hast."
AuthFallbackWelcome = "Eine Anmeldung mit öffentlichen schlüssel und Passwort ist nur möglich, wenn der Administrator dir einen solchen Zugang gegeben hat."
AuthFallbackInstruct = "Alternative Anmeldemethode, falls du einen öffentlichen schlüssel und ein Passwort hast."

AuthFallbackNewPassword="Neues Passwort"
AuthFallbackRepeatPassword="Passwort wiederholen"
Expand Down
4 changes: 2 additions & 2 deletions web/i18n/defaults/active.en.toml
Expand Up @@ -66,8 +66,8 @@ AuthWithSSBError = "Sign-in failed. Please make sure you use an SSB app that sup

# auth with password
AuthFallbackTitle = "Password sign-in"
AuthFallbackWelcome = "Signing in with username and password is only possible if the administrator has given you one, because we do not support user registration."
AuthFallbackInstruct = "This method is an acceptable fallback, if you have a username and password."
AuthFallbackWelcome = "Signing in with public key and password is only possible if the administrator has given you one, because we do not support user registration."
AuthFallbackInstruct = "This method is an acceptable fallback, if you have a public key and password."

AuthFallbackNewPassword="New Password"
AuthFallbackRepeatPassword="Repeat Password"
Expand Down
2 changes: 1 addition & 1 deletion web/templates/auth/fallback_sign_in.tmpl
Expand Up @@ -19,7 +19,7 @@ SPDX-License-Identifier: CC-BY-4.0
>
{{ .csrfField }}
<div class="flex flex-col w-48">
<label class="mt-8 text-sm text-gray-600">Username</label>
<label class="mt-8 text-sm text-gray-600">Public key</label>
<input type="text" name="user"
class="shadow rounded border border-transparent h-8 p-1 focus:outline-none focus:ring-2 focus:ring-green-400 focus:border-transparent">
<label class="mt-8 text-sm text-gray-600">Password</label>
Expand Down

0 comments on commit 7f3d86b

Please sign in to comment.