tinycm rev 78

Small fix to user plugins
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 10 23:21:05 2017 +0100 (2017-02-10)
parents 4e8dfb19f2a7
children c5499579959a
files plugins/users/users.cgi
line diff
     1.1 --- a/plugins/users/users.cgi	Fri Feb 10 23:17:21 2017 +0100
     1.2 +++ b/plugins/users/users.cgi	Fri Feb 10 23:21:05 2017 +0100
     1.3 @@ -141,7 +141,7 @@
     1.4  <div id="edit">
     1.5  
     1.6  <form method="get" action="$script" name="editor">
     1.7 -	<input type="hidden" name="save-profile" />
     1.8 +	<input type="hidden" name="saveprofile" />
     1.9  	<h3>Name</h3>
    1.10  	<input type="text" name="name" value="$NAME" />
    1.11  	<h3>Email</h3>
    1.12 @@ -155,7 +155,7 @@
    1.13  EOT
    1.14  		html_footer && exit 0 ;;
    1.15  	
    1.16 -	*\ save-profile\ *)
    1.17 +	*\ saveprofile\ *)
    1.18  		# Save a user profile
    1.19  		if check_auth; then
    1.20  			path="$PEOPLE/$user"