mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
feat: github auth
This commit is contained in:
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>
|
||||
|
||||
@@ -24,6 +24,7 @@ export default {
|
||||
},
|
||||
icon: {
|
||||
google: '#DB4437',
|
||||
github: '#171515',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user