summaryrefslogtreecommitdiffstats
path: root/core/templates/login.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-09-29 15:18:38 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-09-29 15:18:38 +0200
commit578aa4e42546a81e572ecda2061e238d34a4f421 (patch)
tree285622f632f536cd9d4c1f3744a838eab3094fd6 /core/templates/login.php
parentf5fe95a1315200c7e0c08544b2aad5ef69167d7c (diff)
downloadnextcloud-server-578aa4e42546a81e572ecda2061e238d34a4f421.tar.gz
nextcloud-server-578aa4e42546a81e572ecda2061e238d34a4f421.zip
Removed sectoken
This token is completly useless since an attacker can easily extract it from the page.
Diffstat (limited to 'core/templates/login.php')
-rw-r--r--core/templates/login.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 2c9b766aa4d..bedff4453b0 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -12,7 +12,6 @@
<p class="infield">
<label for="password" class="infield"><?php echo $l->t( 'Password' ); ?></label>
<input type="password" name="password" id="password" value="" required<?php echo $_['user_autofocus']?'':' autofocus'; ?> />
- <input type="hidden" name="sectoken" id="sectoken" value="<?php echo($_['sectoken']); ?>" />
</p>
<input type="checkbox" name="remember_login" value="1" id="remember_login" /><label for="remember_login"><?php echo $l->t('remember'); ?></label>
<input type="submit" id="submit" class="login" value="<?php echo $l->t( 'Log in' ); ?>" />