Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Fabian Bläse | fd8dc573c9 |
|
@ -1,7 +1,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fff-web-ui
|
||||
PKG_RELEASE:=16
|
||||
PKG_RELEASE:=17
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# write
|
||||
if [ "$REQUEST_METHOD" = "POST" ] ; then
|
||||
#check for special characters in password
|
||||
regex='^[a-zA-Z0-9!#\$%\(\)\*\+,\.:;=\?@\^_-]+$'
|
||||
regex='^[a-zA-Z0-9!#\$%\(\)\*\+,\.:;=\?@\^_&-]+$'
|
||||
if [ "$POST_pass1" = "" ] ; then
|
||||
MSG='<span class="red">Das Passwort darf nicht leer sein!</span>'
|
||||
elif ! echo -n "$POST_pass1" | egrep -q "$regex"; then
|
||||
|
|
Loading…
Reference in New Issue