[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] GNUmed enhancement
From: |
Jim Busser |
Subject: |
Re: [Gnumed-devel] GNUmed enhancement |
Date: |
Tue, 30 Jun 2009 23:45:32 -0700 |
Easier than to trap for the language returned by postgres would be
for the client to detect the absence of a password. Absence would be
a bad practice, and yet some edge case even just for testing has
previously been argued.
A dialog could usefully trap for a missing password at the same time
as it ignored (and left unbothered) the users who *did* put in a
password.
I would suggest a reasonable solution would be for the client to trap
a missing password and prompt the user:
Really try logging in with an <empty> password?
Yes --> continues (usually a bad choice but at least informs
the user)
No --> returns to login dialog
OTOH when a password *had* been entered but was rejected, what
Rogerio suggests may be misleading (extraneous) because while the
userid and password may have belonged to this user, the problem could
have been the *database* selection thus why postgres returns:
Please retry with another profile !
Possibly it could better say:
Please retry another database / username / password combination.
or
Please check your database / username / password selections.
BTW the login dialog label "Backend" is perhaps technical, should it
be "Log into" or "Database" ?
On 30-Jun-09, at 5:54 PM, Rogerio Luz Coelho wrote:
In the opening window login dialog:
1- if no password is presented there is a error window that gives
the postgresql output
"PostgreSQL: fe_sendauth: no password supplied
DSN: dbname=gnumed_v11 port=5432 user=rogluz sslmode=prefer"
2- if password is WRONG output: "FATAL: autenticação do tipo
password falhou para usuário "rogluz"
Please retry with another profile ! " (translated to portuguese)
- can we change both to "Please inform correct login and password
for your account" ?
Rogerio
_______________________________________________
Gnumed-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnumed-devel
- Re: [Gnumed-devel] GNUmed enhancement,
Jim Busser <=