| 
									
										
										
										
											2021-08-22 20:15:58 +08:00
										 |  |  | @extends('layouts.simple') | 
					
						
							| 
									
										
										
										
											2021-07-17 06:23:36 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | @section('body') | 
					
						
							| 
									
										
										
										
											2021-07-18 23:52:31 +08:00
										 |  |  |     <div class="container very-small py-xl"> | 
					
						
							| 
									
										
										
										
											2021-07-17 06:23:36 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |         <div class="card content-wrap auto-height"> | 
					
						
							| 
									
										
										
										
											2021-08-08 21:24:44 +08:00
										 |  |  |             <h1 class="list-heading">{{ trans('auth.mfa_verify_access') }}</h1> | 
					
						
							|  |  |  |             <p class="mb-none">{{ trans('auth.mfa_verify_access_desc') }}</p> | 
					
						
							| 
									
										
										
										
											2021-07-17 06:23:36 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-18 23:52:31 +08:00
										 |  |  |             @if(!$method) | 
					
						
							|  |  |  |                 <hr class="my-l"> | 
					
						
							| 
									
										
										
										
											2021-08-08 21:24:44 +08:00
										 |  |  |                 <h5>{{ trans('auth.mfa_verify_no_methods') }}</h5> | 
					
						
							|  |  |  |                 <p class="small">{{ trans('auth.mfa_verify_no_methods_desc') }}</p> | 
					
						
							| 
									
										
										
										
											2021-07-18 23:52:31 +08:00
										 |  |  |                 <div> | 
					
						
							| 
									
										
										
										
											2021-08-08 21:24:44 +08:00
										 |  |  |                     <a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.configure') }}</a> | 
					
						
							| 
									
										
										
										
											2021-07-18 23:52:31 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |             @endif | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-02 22:04:43 +08:00
										 |  |  |             @if($method) | 
					
						
							|  |  |  |                 <hr class="my-l"> | 
					
						
							| 
									
										
										
										
											2021-08-22 20:15:58 +08:00
										 |  |  |                 @include('mfa.parts.verify-' . $method) | 
					
						
							| 
									
										
										
										
											2021-08-02 22:04:43 +08:00
										 |  |  |             @endif | 
					
						
							| 
									
										
										
										
											2021-07-17 06:23:36 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-18 23:52:31 +08:00
										 |  |  |             @if(count($otherMethods) > 0) | 
					
						
							|  |  |  |                 <hr class="my-l"> | 
					
						
							|  |  |  |                 @foreach($otherMethods as $otherMethod) | 
					
						
							| 
									
										
										
										
											2021-08-02 23:35:37 +08:00
										 |  |  |                     <div class="text-center"> | 
					
						
							| 
									
										
										
										
											2021-08-08 21:24:44 +08:00
										 |  |  |                         <a href="{{ url("/mfa/verify?method={$otherMethod}") }}">{{ trans('auth.mfa_verify_use_' . $otherMethod) }}</a> | 
					
						
							| 
									
										
										
										
											2021-08-02 23:35:37 +08:00
										 |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2021-07-18 23:52:31 +08:00
										 |  |  |                 @endforeach | 
					
						
							|  |  |  |             @endif | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-17 06:23:36 +08:00
										 |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | @stop |