Skip to content

Commit 7d8f697

Browse files
Update demo_auth.php
1 parent 9435eb4 commit 7d8f697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo_auth.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
try {
3636
$result_arr = call_user_func_array("login_django_postgres", $options);
3737
$result = $result_arr['authorized'];
38-
$id = $result['id'];
38+
$id = $result_arr['id'];
3939
$error = "Wrong password";
4040
} catch (Exception $e) {
4141
$result = false;

0 commit comments

Comments
 (0)