Skip to content

Commit

Permalink
allow username change (#1667)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored Dec 26, 2022
1 parent 2dcc23e commit d982ef1
Show file tree
Hide file tree
Showing 26 changed files with 108 additions and 90 deletions.
42 changes: 33 additions & 9 deletions app/Actions/Settings/UpdateLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

namespace App\Actions\Settings;

use App\Exceptions\ConfigurationKeyMissingException;
use App\Exceptions\ConflictingPropertyException;
use App\Exceptions\Internal\QueryBuilderException;
use App\Exceptions\ModelDBException;
use App\Exceptions\UnauthenticatedException;
use App\Models\Configs;
use App\Models\Logs;
use App\Models\User;
use Illuminate\Support\Facades\Auth;
Expand Down Expand Up @@ -34,24 +36,46 @@ public function do(?string $username, string $password, string $oldPassword, str
$user = Auth::user() ?? throw new UnauthenticatedException();

if (!Hash::check($oldPassword, $user->password)) {
Logs::notice(__METHOD__, __LINE__, 'User (' . $user->username . ') tried to change their identity from ' . $ip);
Logs::notice(__METHOD__, __LINE__, sprintf('User (%s) tried to change their identity from %s', $user->username, $ip));

throw new UnauthenticatedException('Previous password is invalid');
}

if (User::query()->where('username', '=', $username)->where('id', '!=', $user->id)->count() !== 0) {
Logs::notice(__METHOD__, __LINE__, 'User (' . $user->username . ') tried to change their identity to ' . $username . ' from ' . $ip);
throw new ConflictingPropertyException('Username already exists.');
}

if ($username !== null && $username !== $user->username) {
Logs::notice(__METHOD__, __LINE__, 'User (' . $user->username . ') changed their identity for (' . $username . ') from ' . $ip);
$user->username = $username;
if ($username !== null
&& $username !== ''
&& Configs::getValueAsBool('allow_username_change')) {
$this->updateUsername($user, $username, $ip);
}

$user->password = Hash::make($password);
$user->save();

return $user;
}

/**
* Update Username if it does not already exists.
*
* @param User $user
* @param string $username
* @param string $ip
*
* @return void
*
* @throws ConfigurationKeyMissingException
* @throws QueryBuilderException
* @throws ConflictingPropertyException
*/
private function updateUsername(User &$user, string $username, string $ip): void
{
if (User::query()->where('username', '=', $username)->where('id', '!=', $user->id)->count() !== 0) {
Logs::notice(__METHOD__, __LINE__, sprintf('User (%s) tried to change their identity to (%s) from %s', $user->username, $username, $ip));
throw new ConflictingPropertyException('Username already exists.');
}

if ($username !== $user->username) {
Logs::notice(__METHOD__, __LINE__, sprintf('User (%s) changed their identity for (%s) from %s', $user->username, $username, $ip));
$user->username = $username;
}
}
}
1 change: 1 addition & 0 deletions app/Http/Controllers/Administration/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public function updateLogin(ChangeLoginRequest $request, UpdateLogin $updateLogi
$request->oldPassword(),
$request->ip()
);

// Update the session with the new credentials of the user.
// Otherwise, the session is out-of-sync and falsely assumes the user
// to be unauthenticated upon the next request.
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Requests/User/ChangeLoginRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function authorize(): bool
public function rules(): array
{
return [
RequestAttribute::USERNAME_ATTRIBUTE => ['sometimes', new UsernameRule()],
RequestAttribute::USERNAME_ATTRIBUTE => ['sometimes', new UsernameRule(true)],
RequestAttribute::PASSWORD_ATTRIBUTE => ['required', new PasswordRule(false)],
RequestAttribute::OLD_PASSWORD_ATTRIBUTE => ['required', new PasswordRule(false)],
];
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/ChineseSimplified.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => '错误',
'ERROR_TEXT' => '噢,似乎出了一些问题。请刷新页面后再试!',
'ERROR_UNKNOWN' => '发生未知问题。请再试一次,检查您的安装和服务器。请查看自述文件以获取更多信息。',
'ERROR_LOGIN' => '无法保存登录信息。请用另一个用户名和密码再试一次!',
'ERROR_MAP_DEACTIVATED' => '地图功能已在设置中停用。',
'ERROR_SEARCH_DEACTIVATED' => '搜索功能已在设置中停用。',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => '输入管理员用户名和密码:',
'LOGIN_USERNAME' => '新用户名',
'LOGIN_PASSWORD' => '新密码',
'LOGIN_PASSWORD_CONFIRM' => '确认密码',
'LOGIN_CREATE' => '创建',

'PASSWORD_TITLE' => '输入您当前的密码:',
'PASSWORD_CURRENT' => '当前密码',
'PASSWORD_TEXT' => '您的用户名和密码将被修改为:',
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/ChineseTraditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => '錯誤',
'ERROR_TEXT' => '噢,似乎出了一些問題。請重整頁面後再試一次!',
'ERROR_UNKNOWN' => '發生未知問題!請再試一次,檢查您的安裝和伺服器。請查看自述文件以獲取更多信息。',
'ERROR_LOGIN' => '無法保存登錄信息。請用另一個用戶名和密碼再試一次!',
'ERROR_MAP_DEACTIVATED' => '地圖功能已被設為停用。',
'ERROR_SEARCH_DEACTIVATED' => '搜索功能已在設為停用。',
'SUCCESS' => '',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => '輸入管理員用戶名和密碼:',
'LOGIN_USERNAME' => '新用戶名',
'LOGIN_PASSWORD' => '新密碼',
'LOGIN_PASSWORD_CONFIRM' => '確認密碼',
'LOGIN_CREATE' => '創建',

'PASSWORD_TITLE' => '當前密碼',
'PASSWORD_CURRENT' => '當前密碼',
'PASSWORD_TEXT' => '用戶名和密碼將被修改為:',
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/Czech.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Chyba',
'ERROR_TEXT' => 'Něco není v pořádku. Obnovte stránku a postup zopakujte!',
'ERROR_UNKNOWN' => 'Neočekávaná chyba. Postup prosím opakujte a ujistěte se o správnosti instalace na serveru. Další informace jsou k dispozici v souboru README.',
'ERROR_LOGIN' => 'Nelze uložit přihlašovací informace. Opakujte prosím postup s jiným uřivatelským jménem a heslem!',
'ERROR_MAP_DEACTIVATED' => 'Funkce Mapy byla v nastavení deaktivována.',
'ERROR_SEARCH_DEACTIVATED' => 'Funkce hledání byla v nastavení deaktivována.',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => 'Zadejte jméno uživatele a heslo pro svoji instalaci:',
'LOGIN_USERNAME' => 'Jméno uživatele',
'LOGIN_PASSWORD' => 'Heslo',
'LOGIN_PASSWORD_CONFIRM' => 'Zopakujte heslo',
'LOGIN_CREATE' => 'Vytvořit uživatele',

'PASSWORD_TITLE' => 'Zadejte aktuální heslo:',
'PASSWORD_CURRENT' => 'Aktuální heslo',
'PASSWORD_TEXT' => 'Vaše uživatelské jméno a heslo budou změněny následovně:',
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/Dutch.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Error',
'ERROR_TEXT' => 'Whoops, er is iets misgegaan. Herlaad de pagina en probeer het opnieuw!',
'ERROR_UNKNOWN' => 'Er is iets onverwachts gebeurd. Probeer het opnieuw of controleer je installatie en server. Kijk naar de readme voor meer informatie.',
'ERROR_LOGIN' => 'Kan login niet opslaan. Probeer het opnieuw met een andere gebruikersnaam en/of wachtwoord!',
'ERROR_MAP_DEACTIVATED' => 'Map functionality has been deactivated under settings.',
'ERROR_SEARCH_DEACTIVATED' => 'Search functionality has been deactivated under settings.',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => 'Voer een gebruikersnaam en wachtwoord in voor je installatie:',
'LOGIN_USERNAME' => 'Nieuw Gebruikersnaam',
'LOGIN_PASSWORD' => 'Nieuw Wachtwoord',
'LOGIN_PASSWORD_CONFIRM' => 'Confirm Password',
'LOGIN_CREATE' => 'Maak Login',

'PASSWORD_TITLE' => 'Voer je huidige wachtwoord in:',
'PASSWORD_CURRENT' => 'Huidig Wachtwoord',
'PASSWORD_TEXT' => 'Je gebruikersnaam en wachtwoord worden verandert naar:',
Expand Down
6 changes: 1 addition & 5 deletions app/Locale/English.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Error',
'ERROR_TEXT' => 'Whoops, it looks like something went wrong. Please reload the site and try again!',
'ERROR_UNKNOWN' => 'Something unexpected happened. Please try again and check your installation and server. Take a look at the readme for more information.',
'ERROR_LOGIN' => 'Unable to save login. Please try again with another username and password!',
'ERROR_MAP_DEACTIVATED' => 'Map functionality has been deactivated under settings.',
'ERROR_SEARCH_DEACTIVATED' => 'Search functionality has been deactivated under settings.',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,15 +327,12 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => 'Enter a username and password for your installation:',
'LOGIN_USERNAME' => 'New Username',
'LOGIN_PASSWORD' => 'New Password',
'LOGIN_PASSWORD_CONFIRM' => 'Confirm Password',
'LOGIN_CREATE' => 'Create Login',

'PASSWORD_TITLE' => 'Enter your current password:',
'PASSWORD_CURRENT' => 'Current Password',
'PASSWORD_TEXT' => 'Your username and password will be changed to the following:',
'PASSWORD_TEXT' => 'Your credentials will be changed to the following:',
'PASSWORD_CHANGE' => 'Change Login',

'EDIT_SHARING_TITLE' => 'Edit Sharing',
Expand Down
6 changes: 1 addition & 5 deletions app/Locale/French.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Erreur',
'ERROR_TEXT' => 'Il semble qu’une erreur soit survenue. Veuillez rafraichir la page et réessayer !',
'ERROR_UNKNOWN' => 'Une erreur inattendue est survenue. Veuillez réessayer et vérifier votre installation et votre serveur. Consultez le fichier Readme pour obtenir plus d’information.',
'ERROR_LOGIN' => 'Impossible d’enregistrer les informations de connexion. Veuillez réessayer avec un autre nom d’utilisateur et mot de passe.',
'ERROR_MAP_DEACTIVATED' => 'La carte a été désactivée dans les paramètres.',
'ERROR_SEARCH_DEACTIVATED' => 'La recherche a été désactivée dans les paramètres.',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,15 +327,12 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'Notification de nouvelles photos mise à jour',
'USER_EMAIL_INSTRUCTION' => 'Ajouter votre email Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => 'Entrez un nom d’utilisateur et un mot de passe pour votre installation :',
'LOGIN_USERNAME' => 'Nouvel utilisateur',
'LOGIN_PASSWORD' => 'Nouveau Mot de passe',
'LOGIN_PASSWORD_CONFIRM' => 'Confirmez le mot de passe',
'LOGIN_CREATE' => 'Créer les informations de connexion',

'PASSWORD_TITLE' => 'Entrez votre mot de passe existant :',
'PASSWORD_CURRENT' => 'Mot de passe existant :',
'PASSWORD_TEXT' => 'Votre nom d’utilisateur et votre mot de passe seront modifiés comme suit :',
'PASSWORD_TEXT' => 'Vos identifiants seront modifiés comme suit :',
'PASSWORD_CHANGE' => 'Modifier les informations de connexion',

'EDIT_SHARING_TITLE' => 'Modifier le partage',
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/German.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Fehler',
'ERROR_TEXT' => 'Hoppla, da ist etwas schiefgegangen. Bitte laden Sie die Seite erneut und probieren Sie es noch einmal!',
'ERROR_UNKNOWN' => 'Etwas Unerwartetes ist passiert. Bitte probieren Sie es erneut und überprüfen Sie die Installation und Ihren Server. Lesen Sie die README-Datei für mehr Informationen.',
'ERROR_LOGIN' => 'Kann Login nicht speichern. Bitte versuchen Sie es erneut mit einem anderen Benutzernamen und Kennwort!',
'ERROR_MAP_DEACTIVATED' => 'Karten sind unter Einstellungen deaktiviert worden.',
'ERROR_SEARCH_DEACTIVATED' => 'Suchfunktion wurde unter Einstellungen deaktiviert.',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Geben Sie Ihre E-Mail-Adresse unten ein, um Benachrichtigungen zu aktivieren. Um Benachrichtigungen zu deaktivieren, entfernen Sie die E-Mail-Adresse unten einfach.',

'LOGIN_TITLE' => 'Geben Sie Benutzername und Kennwort für Ihre Installation an:',
'LOGIN_USERNAME' => 'Neuer Benutzername',
'LOGIN_PASSWORD' => 'Neues Kennwort',
'LOGIN_PASSWORD_CONFIRM' => 'Passwort bestätigen',
'LOGIN_CREATE' => 'Benutzer anlegen',

'PASSWORD_TITLE' => 'Geben Sie Ihr bestehendes Kennwort ein:',
'PASSWORD_CURRENT' => 'Bestehendes Kennwort',
'PASSWORD_TEXT' => 'Ihr Benutzername und Passwort werden wie folgt geändert:',
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/Greek.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Σφάλμα',
'ERROR_TEXT' => 'Ουπς, φαίνεται πως κάτι πήγε στραβά. Παρακαλούμε κάντε ανανέωση της σελίδας και προσπαθήστε ξανά!',
'ERROR_UNKNOWN' => 'Κάτι απρόσμενο συνέβη. Παρακαλούμε προσπαθείστε ξανά και ελέγξτε την εγκατάστασή σας και τον εξυπηρετητή. Ρίξτε μια ματιά στο αρχείο readme για περισσότερες πληροφορίες.',
'ERROR_LOGIN' => 'Αδυναμία αποθήκευσης στοιχείων εισόδου. Παρακαλούμε δοκιμάστε ξανά με διαφορετικό όνομα χρήστη και κωδικό πρόσβασης!',
'ERROR_MAP_DEACTIVATED' => 'Map functionality has been deactivated under settings.',
'ERROR_SEARCH_DEACTIVATED' => 'Search functionality has been deactivated under settings.',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => 'Εισάγετε ένα όνομα χρήστη και κωδικό πρόσβασης για την εγκατάστασή σας:',
'LOGIN_USERNAME' => 'Νέο όνομα χρήστη',
'LOGIN_PASSWORD' => 'Νέος κωδικός πρόσβασης',
'LOGIN_PASSWORD_CONFIRM' => 'Επιβεβαίωση κωδικού πρόσβασης',
'LOGIN_CREATE' => 'Δημιουργία στοιχείων εισόδου',

'PASSWORD_TITLE' => 'Εισάγετε τον τρέχον κωδικό πρόσβασης:',
'PASSWORD_CURRENT' => 'Τρέχον κωδικός πρόσβασης',
'PASSWORD_TEXT' => 'Το όνομα χρήστη και ο κωδικός πρόσβασής σας θα αλλάξουν στα παρακάτω:',
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/Italian.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Errore',
'ERROR_TEXT' => 'Oops, sembra che qualcosa sia andato storto. Per favore ricarica il sito e prova di nuovo!',
'ERROR_UNKNOWN' => 'È successo qualcosa di inaspettato. Per favore prova di nuovo e controlla la tua installazione e il tuo server. Controlla il readme per più informazioni.',
'ERROR_LOGIN' => 'Impossibile salvare il login. Per favore prova con altri nomi utenti e password!',
'ERROR_MAP_DEACTIVATED' => 'Map functionality has been deactivated under settings.',
'ERROR_SEARCH_DEACTIVATED' => 'Search functionality has been deactivated under settings.',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => 'Inserisci un nome utente e una password per la tua installazione:',
'LOGIN_USERNAME' => 'Nuovo Nome Utente',
'LOGIN_PASSWORD' => 'Nuova Password',
'LOGIN_PASSWORD_CONFIRM' => 'Conferma Password',
'LOGIN_CREATE' => 'Crea Login',

'PASSWORD_TITLE' => 'Inserisci la tua password attuale:',
'PASSWORD_CURRENT' => 'Password Attuale',
'PASSWORD_TEXT' => 'Il tuo nome utente e password verrano cambiati nei seguenti:',
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/NorwegianBokmal.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Feil',
'ERROR_TEXT' => 'Oisann, her ser det ut som noe gikk galt. Vennligst last inn siden på nytt og prøv igjen!',
'ERROR_UNKNOWN' => 'Noe uventet skjedde. Prøv på nytt og kontroller installasjonen av Lychee og serveren. Se <b>readme</b> for mer informasjon',
'ERROR_LOGIN' => 'Kan ikke utføre innloggingen. Vennligst prøv med et annet brukernavn og passord!',
'ERROR_MAP_DEACTIVATED' => 'Kartfunksjoner har blitt deaktivert under innstillinger',
'ERROR_SEARCH_DEACTIVATED' => 'Søkefunksjoner har blitt deaktivert under innstillinger',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => 'Fyll inn et brukernavn og passord for installasjonen:',
'LOGIN_USERNAME' => 'Nytt Brukernavn',
'LOGIN_PASSWORD' => 'Nytt Passord',
'LOGIN_PASSWORD_CONFIRM' => 'Bekreft Passord',
'LOGIN_CREATE' => 'Lag Innlogging',

'PASSWORD_TITLE' => 'Fyll inn ditt nåværende passord:',
'PASSWORD_CURRENT' => 'Nåværende Passord',
'PASSWORD_TEXT' => 'Brukernavnet og passordet ditt vil bli endret til det følgende:',
Expand Down
4 changes: 0 additions & 4 deletions app/Locale/Polish.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public function get_locale(): array
'ERROR' => 'Błąd',
'ERROR_TEXT' => 'Ups, wygląda na to że coś poszło nie tak. Odśwież stronę i spróbuj ponownie!',
'ERROR_UNKNOWN' => 'Wystąpił nieoczekiwany błąd. Spróbuj ponownie i sprawdź swoją instalację oraz serwer. Przejrzyj plik README dla bardziej szczegółowych informacji.',
'ERROR_LOGIN' => 'Nie można zapisać loginu. Spróbuj ponownie przy użyciu innej nazwy użytkownika oraz hasła!',
'ERROR_MAP_DEACTIVATED' => 'Funkcja mapy została wyłączona w ustawieniach.',
'ERROR_SEARCH_DEACTIVATED' => 'Funkcja wyszkukiwania została wyłączona w ustawieniach.',
'SUCCESS' => 'OK',
Expand Down Expand Up @@ -328,12 +327,9 @@ public function get_locale(): array
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
'USER_EMAIL_INSTRUCTION' => 'Add your email below to enable receiving email notifications. To stop receiving emails, simply remove your email below.',

'LOGIN_TITLE' => 'Wpisz nazwę użytkownika oraz hasło dla swojej instalacji:',
'LOGIN_USERNAME' => 'Nowa nazwa użytkownika',
'LOGIN_PASSWORD' => 'Nowe hasło',
'LOGIN_PASSWORD_CONFIRM' => 'Potwierdź nowe hasło',
'LOGIN_CREATE' => 'Utwórz login',

'PASSWORD_TITLE' => 'Wpisz aktualne dane dostępowe:',
'PASSWORD_CURRENT' => 'Aktualne hasło',
'PASSWORD_TEXT' => 'Twoja nazwa użytkownika oraz hasło zostaną zmienione na następujące:',
Expand Down
Loading

0 comments on commit d982ef1

Please sign in to comment.