https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a5550b4
)
Merge pull request #5259 from rabuzarus/20180616_-_magic_auth_test_2
author
Hypolite Petovan
<mrpetovan@gmail.com>
Thu, 21 Jun 2018 00:15:14 +0000
(20:15 -0400)
committer
GitHub
<noreply@github.com>
Thu, 21 Jun 2018 00:15:14 +0000
(20:15 -0400)
port hubzillas OpenWebAuth - don't initiate magic auth if the contact is allready authentificated
src/Model/Profile.php
patch
|
blob
|
history
diff --git
a/src/Model/Profile.php
b/src/Model/Profile.php
index
0bb18e1
..
31d9fe8
100644
(file)
--- a/
src/Model/Profile.php
+++ b/
src/Model/Profile.php
@@
-1020,7
+1020,7
@@
class Profile
$contact = dba::selectFirst('contact',['id', 'url'], ['id' => $cid]);
- if (DBM::is_result($contact) && remote_user() && remote_user() ==
=
$contact['id']) {
+ if (DBM::is_result($contact) && remote_user() && remote_user() == $contact['id']) {
// The visitor is already authenticated.
return;
}