rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 70910a84234449d675f4a71c5883c455b4352958
parent 0e5d49c90a844fed563cc2d9e0a90fb32c685477
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 30 Nov 2014 17:05:15 +0100

fix login fail

Diffstat:
Mcore/backend/admin/user/login/login_handling.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/backend/admin/user/login/login_handling.php b/core/backend/admin/user/login/login_handling.php @@ -5,7 +5,7 @@ function die_back($str) { die ($str.'<br/><a href="./login.php">back</a>'); } - $token = $_GET['token']; + $token = $_GET['ga_token']; $user = $_GET['username']; $hash = $_GET['hash']; $ga_token_input = $_GET['ga_token']; @@ -47,7 +47,7 @@ } $hash_db = hash('sha512',$passwdhash.$token); if ($hash_db == $hash) { - //print("du bist eingelogt"); + print("du bist eingelogt"); } else { die_back('falsches passwort'); }