fix: user facing "username"/"public key" -> SSB-ID

See https://github.com/ssb-ngi-pointer/go-ssb-room/issues/275.
This commit is contained in:
decentral1se 2022-04-06 12:52:02 +02:00 committed by André Staltz
parent c87a69f907
commit de4321dcb2
3 changed files with 6 additions and 6 deletions

View File

@ -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 SSB-ID und Passwort ist nur möglich, wenn der Administrator dir einen solchen Zugang gegeben hat."
AuthFallbackInstruct = "Alternative Anmeldemethode, falls du eine SSB-ID und ein Passwort hast."
AuthFallbackNewPassword="Neues Passwort"
AuthFallbackRepeatPassword="Passwort wiederholen"

View File

@ -35,7 +35,7 @@ NavAdminNotices = "Notices"
# Error messages
ErrorAuthBadLogin = "The supplied authentication credentials (username or password) are incorrect."
ErrorNotFound = "The database couldn't find the item in question."
ErrorAlreadyAdded = "The public key <strong>{{.Key}}</strong> already is on the list"
ErrorAlreadyAdded = "The SSB-ID <strong>{{.Key}}</strong> already is on the list"
ErrorPageNotFound = "The requested page <strong>({{.Path}})</strong> is not there."
ErrorNotAuthorized = "You are not authorized to access this page."
ErrorForbidden = "The request could not be executed because of lacking privileges ({{.Details}})"
@ -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 SSB-ID 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 SSB-ID and password."
AuthFallbackNewPassword="New Password"
AuthFallbackRepeatPassword="Repeat Password"

View File

@ -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">SSB Identifier</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>