소스 검색

Update 2FA setup page

Daniel Supernault 6 년 전
부모
커밋
431845dac4
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 1
      resources/views/settings/security/2fa/setup.blade.php

+ 8 - 1
resources/views/settings/security/2fa/setup.blade.php

@@ -43,7 +43,14 @@
 	  	<p>Please scan the QR code and then enter the 6 digit code in the form below. Keep in mind the code changes every 30 seconds, and is only good for 1 minute.</p>
 	  	<div class="card">
 	  		<div class="card-body text-center">
-	  			<img src="{{$qrcode}}">
+	  			<div class="pb-3">
+	  				<p class="font-weight-bold">QR Code</p>
+	  				<img src="{{$qrcode}}" class="img-fluid" width="200px">
+	  			</div>
+	  			<div>
+	  				<p class="font-weight-bold">OTP Secret</p>
+	  				<input type="text" class="form-control" value="{{ $user->{'2fa_secret'} }}" disabled>
+	  			</div>
 	  		</div>
 	  		<div class="card-body">
 	  			<form id="confirm-code">