@adminforth/two-factors-auth 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ set -x
|
|
|
5
5
|
COMMIT_SHORT_SHA=$(echo $CI_COMMIT_SHA | cut -c1-8)
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
if [ "$
|
|
8
|
+
if [ "$CI_PREV_PIPELINE_STATUS" = "success" ]; then
|
|
9
9
|
MESSAGE="Did a build without issues on \`$CI_REPO_NAME/$CI_COMMIT_BRANCH\`. Commit: _${CI_COMMIT_MESSAGE}_ (<$CI_COMMIT_URL|$COMMIT_SHORT_SHA>)"
|
|
10
10
|
|
|
11
11
|
curl -s -X POST -H "Content-Type: application/json" -d '{
|
package/.woodpecker/release.yml
CHANGED
package/build.log
CHANGED
|
@@ -10,5 +10,5 @@ custom/package-lock.json
|
|
|
10
10
|
custom/package.json
|
|
11
11
|
custom/tsconfig.json
|
|
12
12
|
|
|
13
|
-
sent 26,
|
|
14
|
-
total size is 25,
|
|
13
|
+
sent 26,216 bytes received 115 bytes 52,662.00 bytes/sec
|
|
14
|
+
total size is 25,787 speedup is 0.98
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
<div class="relative p-4 w-full max-w-md max-h-full">
|
|
13
13
|
<!-- Modal content -->
|
|
14
14
|
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black text-gray-500" >
|
|
15
|
-
<div class="p-
|
|
15
|
+
<div class="p-10 w-full max-w-md max-h-full" >
|
|
16
16
|
<div class="m-3" >{{$t('Scan this QR code with your authenticator app or open by')}} <a class="text-blue-600" :href="totpUri">{{$t('click')}}</a></div>
|
|
17
17
|
<div class="flex justify-center m-3" >
|
|
18
|
-
<img :src="totpQrCode" alt="QR code" />
|
|
18
|
+
<img :src="totpQrCode" class="min-w-[200px], min-h-[200px]" alt="QR code" />
|
|
19
19
|
</div>
|
|
20
20
|
<div class="m-3 ">
|
|
21
21
|
<div class="m-1">{{$t('Or copy this code to app manually:')}}</div>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<div class="my-4 flex justify-center items-center">
|
|
37
37
|
<v-otp-input
|
|
38
38
|
ref="code"
|
|
39
|
-
input-classes="bg-gray-50 text-center flex justify-center otp-input border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-
|
|
39
|
+
input-classes="bg-gray-50 text-center flex justify-center otp-input border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-11 h-11 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
|
|
40
40
|
:conditionalClass="['one', 'two', 'three', 'four', 'five', 'six']"
|
|
41
41
|
inputType="number"
|
|
42
42
|
inputmode="numeric"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
/>
|
|
48
48
|
</div>
|
|
49
49
|
<!-- <Vue2FACodeInput v-model="code" autofocus /> -->
|
|
50
|
-
<div class="flex flex-row gap-2.5">
|
|
50
|
+
<div class="flex flex-row gap-2.5 pl-3 pr-3 h-12">
|
|
51
51
|
<LinkButton to="/login" class="w-full">
|
|
52
52
|
{{$t('Back to login')}}
|
|
53
53
|
</LinkButton>
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
<div class="relative p-4 w-full max-w-md max-h-full">
|
|
13
13
|
<!-- Modal content -->
|
|
14
14
|
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black text-gray-500" >
|
|
15
|
-
<div class="p-
|
|
15
|
+
<div class="p-10 w-full max-w-md max-h-full" >
|
|
16
16
|
<div class="m-3" >{{$t('Scan this QR code with your authenticator app or open by')}} <a class="text-blue-600" :href="totpUri">{{$t('click')}}</a></div>
|
|
17
17
|
<div class="flex justify-center m-3" >
|
|
18
|
-
<img :src="totpQrCode" alt="QR code" />
|
|
18
|
+
<img :src="totpQrCode" class="min-w-[200px], min-h-[200px]" alt="QR code" />
|
|
19
19
|
</div>
|
|
20
20
|
<div class="m-3 ">
|
|
21
21
|
<div class="m-1">{{$t('Or copy this code to app manually:')}}</div>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<div class="my-4 flex justify-center items-center">
|
|
37
37
|
<v-otp-input
|
|
38
38
|
ref="code"
|
|
39
|
-
input-classes="bg-gray-50 text-center flex justify-center otp-input border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-
|
|
39
|
+
input-classes="bg-gray-50 text-center flex justify-center otp-input border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-11 h-11 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
|
|
40
40
|
:conditionalClass="['one', 'two', 'three', 'four', 'five', 'six']"
|
|
41
41
|
inputType="number"
|
|
42
42
|
inputmode="numeric"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
/>
|
|
48
48
|
</div>
|
|
49
49
|
<!-- <Vue2FACodeInput v-model="code" autofocus /> -->
|
|
50
|
-
<div class="flex flex-row gap-2.5">
|
|
50
|
+
<div class="flex flex-row gap-2.5 pl-3 pr-3 h-12">
|
|
51
51
|
<LinkButton to="/login" class="w-full">
|
|
52
52
|
{{$t('Back to login')}}
|
|
53
53
|
</LinkButton>
|