1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 10:12:46 +00:00

Fixed few bugs related to login/logout

* Pressing the logout button now brings the setup page up again
* Removing a server and readding one of which the hash of the address
  has a higher value than the previous one does no longer cause the
  application to request a login each time you open it.
* The method for deciding if the user is in setup has been changed. It
  now checks if a page in the pageStack has the property _isSetupPage,
  which works better than manually keeping track of state.
This commit is contained in:
Chris Josten 2020-09-27 00:42:20 +02:00
parent 0357227134
commit a358caf13e
7 changed files with 37 additions and 16 deletions

View file

@ -109,26 +109,31 @@
</message>
<message>
<source>Login</source>
<extracomment>Dialog action</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Credentials</source>
<extracomment>Section header for entering username and password</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Username</source>
<extracomment>Label placeholder for username field</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Password</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>password</source>
<extracomment>Label placeholder for password field</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Login message</source>
<extracomment>Message shown on login, configured by the server owner. Some form of a MOTD</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Invalid username or password</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -207,6 +212,10 @@
<source>Log out</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Logging out</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UnsupportedDetails</name>