summaryrefslogtreecommitdiff
path: root/alpine/imap.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-10-30 14:28:55 -0600
committerEduardo Chappa <chappa@washington.edu>2021-10-30 14:28:55 -0600
commite90e7ba5b8e93f47d5e4a3f2afa1748246b079e6 (patch)
tree1e4679496fb4807415118c79d55a4b33dfbdd2da /alpine/imap.c
parent248f45578fcf93b56e3b97c52cfd21b5b84f2a38 (diff)
downloadalpine-e90e7ba5b8e93f47d5e4a3f2afa1748246b079e6.tar.xz
* Improvements to the screen that allows a user to select the client-id when
a user attempts to login to a server and more than one client-id is available for that server. In this case additional information is given: The method to use (device or authorize), a user id that uses the suggested client-id or a report that the client-id has not been used.
Diffstat (limited to 'alpine/imap.c')
-rw-r--r--alpine/imap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/alpine/imap.c b/alpine/imap.c
index 9600cebf..68b1f220 100644
--- a/alpine/imap.c
+++ b/alpine/imap.c
@@ -864,6 +864,7 @@ mm_login_oauth2(NETMBX *mb, char *user, char *method,
if(registered){
x = oauth2_get_client_info(oa2list->name, user);
+ if(!x) return; /* user cancelled, let's get out of here */
if(x && x->flow){
for(oa2list = alpine_oauth2_list;
oa2list && oa2list->host != NULL && oa2list->host[0] != NULL;