projects
/
fusionforge
/
users
/
gmorin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c75f73c
)
Add a not and use a class
author
Guy Morin
<guy@guy-90X3A>
Mon, 14 Jun 2021 15:43:42 +0000
(17:43 +0200)
committer
Guy Morin
<guy@guy-90X3A>
Mon, 14 Jun 2021 15:43:42 +0000
(17:43 +0200)
src/www/account/check_unix_name.php
patch
|
blob
|
history
diff --git
a/src/www/account/check_unix_name.php
b/src/www/account/check_unix_name.php
index ed20a0d49b90542dd4eacfc039b4a67a46bb9cde..21abb432cd3fab64fda90df985cf264d42ef2483 100644
(file)
--- a/
src/www/account/check_unix_name.php
+++ b/
src/www/account/check_unix_name.php
@@
-28,8
+28,8
@@
$sysdebug_enable = false;
$response = null;
$unix_name = trim(strtolower(getStringFromRequest('unix_name')));
-if (account_groupnamevalid($unix_name)) {
- $response = "<span
style='color:re
d'>"
+if (
!
account_groupnamevalid($unix_name)) {
+ $response = "<span
class='requiredfiel
d'>"
._('Unix Name not available.')
."</span>";
}