mirror of https://github.com/jumpserver/jumpserver
				
				
				
			fix: 修改 oauth 认证提示信息
							parent
							
								
									baee71e4b8
								
							
						
					
					
						commit
						77521119b9
					
				| 
						 | 
				
			
			@ -53,7 +53,7 @@ class DingTalkQRMixin(PermissionsMixin, View):
 | 
			
		|||
        return True
 | 
			
		||||
 | 
			
		||||
    def get_verify_state_failed_response(self, redirect_uri):
 | 
			
		||||
        msg = _("You've been hacked")
 | 
			
		||||
        msg = _("The system configuration is incorrect. Please contact your administrator")
 | 
			
		||||
        return self.get_failed_reponse(redirect_uri, msg, msg)
 | 
			
		||||
 | 
			
		||||
    def get_qr_url(self, redirect_uri):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,7 +49,7 @@ class FeiShuQRMixin(PermissionsMixin, View):
 | 
			
		|||
        return True
 | 
			
		||||
 | 
			
		||||
    def get_verify_state_failed_response(self, redirect_uri):
 | 
			
		||||
        msg = _("You've been hacked")
 | 
			
		||||
        msg = _("The system configuration is incorrect. Please contact your administrator")
 | 
			
		||||
        return self.get_failed_reponse(redirect_uri, msg, msg)
 | 
			
		||||
 | 
			
		||||
    def get_qr_url(self, redirect_uri):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -53,7 +53,7 @@ class WeComQRMixin(PermissionsMixin, View):
 | 
			
		|||
        return True
 | 
			
		||||
 | 
			
		||||
    def get_verify_state_failed_response(self, redirect_uri):
 | 
			
		||||
        msg = _("You've been hacked")
 | 
			
		||||
        msg = _("The system configuration is incorrect. Please contact your administrator")
 | 
			
		||||
        return self.get_failed_reponse(redirect_uri, msg, msg)
 | 
			
		||||
 | 
			
		||||
    def get_qr_url(self, redirect_uri):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue