Skip to content

Commit 46af6cd

Browse files
committed
keep the old behaviour by default
1 parent d88e03c commit 46af6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/views/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def get(self, request, *args, **kwargs):
116116

117117
# Check to see if the user has already granted access and return
118118
# a successful response
119-
require_approval = request.GET.get('approval_prompt', 'auto')
119+
require_approval = request.GET.get('approval_prompt', 'force')
120120
if require_approval == 'auto' and request.user.accesstoken_set.filter(
121121
application=kwargs['application'],
122122
expires__gt=timezone.now()).count():

0 commit comments

Comments
 (0)