Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit a6949e8

Browse files
authored
Merge pull request #1 from codepotato/codepotato-patch-1
Added autocomplete attribute for one-time-codes
2 parents 2909b4d + cb91e1c commit a6949e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/views/form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<label for="token" class="col-md-4 col-form-label text-md-right">@lang('twofactor-auth::twofactor-auth.label')</label>
1616

1717
<div class="col-md-6">
18-
<input id="token" type="text" class="form-control{{ $errors->has('token') ? ' is-invalid' : '' }}" name="token" value="{{ old('token') }}" required autofocus>
18+
<input id="token" type="text" autocomplete="one-time-code" class="form-control{{ $errors->has('token') ? ' is-invalid' : '' }}" name="token" value="{{ old('token') }}" required autofocus>
1919

2020
@if ($errors->has('token'))
2121
<span class="invalid-feedback" role="alert">

0 commit comments

Comments
 (0)