feat: github auth

This commit is contained in:
Annie Huang committed 2023-10-12 16:12:07 +08:00
1 parent 8719591faa
commit ad5344c98b
14 files changed
+127 -2

No files matched your search

@@ -191,6 +191,13 @@ const goBack = () => {
>
<span>Google</span>
</a>
<a
v-if="availableMethods.github"
class="inline-flex justify-center rounded-lg text-sm font-black py-2 mt-3 bg-icon-github text-text w-full"
href="/api/v1/auth/github"
>
<span>Github</span>
</a>
</div>
</form>
</div>
+1
View File
@@ -24,6 +24,7 @@ export default {
},
icon: {
google: '#DB4437',
github: '#171515',
},
},
},