projects
/
WP-Plugins
/
glm-member-db-contacts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f116ca
)
Update the redirect for a failed login.
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 22 May 2018 17:56:19 +0000
(13:56 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 22 May 2018 17:56:19 +0000
(13:56 -0400)
This will help give proper message when failing login.
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
8705057
..
84d8f94
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-250,7
+250,7
@@
function front_end_login_fail( $username ) {
$glmMembersUrl = check_members_only_page_login();
if ($glmMembersUrl) {
- wp_redirect( $glmMembersUrl."?login=
empty
" );
+ wp_redirect( $glmMembersUrl."?login=
failed
" );
exit;
}