mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
- deletion of session_time and session_id_size as config parameter
- new feature : "remember me" creates a long time cookie - possibility to set the default authentication method to URI or cookie - really technical parameters (session identifier size, session duration) are set in the config file and not in database + configuration.php git-svn-id: http://piwigo.org/svn/trunk@541 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -149,17 +149,14 @@
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70%"><strong>{session.L_CONF_COOKIE} :</strong><br /><span class="small">{session.L_CONF_COOKIE_INFO}</span></td>
|
||||
<td class="row1"><input type="radio" class="radio" name="authorize_cookies" value="true" {session.COOKIE_YES} />{L_YES}
|
||||
<input type="radio" class="radio" name="authorize_cookies" value="false" {session.COOKIE_NO} />{L_NO}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{session.L_SESSION_LENGTH} :</strong><br /><span class="small">{session.L_SESSION_LENGTH_INFO}</span></td>
|
||||
<td class="row1"><input type="text" size="4" maxlength="6" name="session_time" value="{session.SESSION_LENGTH}" /></td>
|
||||
<td width="70%"><strong>{session.L_CONF_AUTH_METHOD} :</strong><br /><span class="small">{session.L_CONF_AUTH_METHOD_INFO}</span></td>
|
||||
<td class="row1"><input type="radio" class="radio" name="auth_method" value="URI" {session.AUTH_METHOD_URI} />{L_URI}
|
||||
<input type="radio" class="radio" name="auth_method" value="cookie" {session.AUTH_METHOD_COOKIE} />{L_COOKIE}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{session.L_SESSION_ID_SIZE} :</strong><br /><span class="small">{session.L_SESSION_ID_SIZE_INFO}</span></td>
|
||||
<td class="row1"><input type="text" size="2" maxlength="3" name="session_id_size" value="{session.SESSION_ID_SIZE}" /></td>
|
||||
<td width="70%"><strong>{session.L_CONF_AUTHORIZE_REMEMBERING} :</strong><br /><span class="small">{session.L_CONF_AUTHORIZE_REMEMBERING_INFO}</span></td>
|
||||
<td class="row1"><input type="radio" class="radio" name="authorize_remembering" value="true" {session.AUTHORIZE_REMEMBERING_YES} />{L_YES}
|
||||
<input type="radio" class="radio" name="authorize_remembering" value="false" {session.AUTHORIZE_REMEMBERING_NO} />{L_NO}</td>
|
||||
</tr>
|
||||
<!-- END session -->
|
||||
<!-- BEGIN metadata -->
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
<input type="text" name="username" size="15" value="" /><br />
|
||||
{L_PASSWORD}<br />
|
||||
<input type="password" name="password" size="15"><br />
|
||||
<input type="checkbox" name="remember_me" value="1" /> {L_REMEMBER_ME}<br />
|
||||
<input type="submit" name="login" value="{L_SUBMIT}" class="bouton" />
|
||||
</form>
|
||||
<!-- END login -->
|
||||
|
||||
@@ -30,6 +30,12 @@
|
||||
<input class="login" type="password" name="password" size="25" maxlength="25" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><span class="gentbl">{L_REMEMBER_ME}:</span></td>
|
||||
<td>
|
||||
<input type="checkbox" name="remember_me" value="1" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="center">
|
||||
<td colspan="2"><input type="submit" name="login" value="{L_LOGIN}" class="bouton" /></td>
|
||||
</tr>
|
||||
@@ -47,4 +53,4 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user