Added password authentication as server feature (#8716)

* Added authenticate and setPassword

* Added AuthPopup

* Added auth endpoint to UncivServer

* Fixed merge confict

* Added close button to AuthPopup

+ Fixed crash if no server is available

* Added entries to template properties

* Fixed setting password does not work

if authentication is required

+ Added server check on game startup in case the server has changed its feature set

* Added support for different passwords

on different servers

+ Cleanup for MultiplayerTab

* Added current password as hint

+ removed character hiding in auth popup
+ added popup to indicate auth success on connection check
This commit is contained in:
Leonard Günther
2023-02-25 19:42:36 +01:00
committed by GitHub
parent 5d80f50d93
commit a3f511efd2
16 changed files with 527 additions and 56 deletions

View File

@ -612,6 +612,16 @@ Days =
Server limit reached! Please wait for [time] seconds =
File could not be found on the multiplayer server =
Unhandled problem, [errorMessage] =
Please enter your server password =
Set password =
Failed to set password! =
Password set successfully for server [serverURL] =
Password =
Your userId is password secured =
Set a password to secure your userId =
Authenticate =
This server does not support authentication =
Authentication failed =
# Save game menu