migrations
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m7s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m7s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 1m11s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m24s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m21s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 40s

This commit is contained in:
2026-01-02 15:30:33 -05:00
parent 667797df15
commit fcd0f78fd1
3 changed files with 25 additions and 6 deletions

View File

@@ -1,7 +1,8 @@
drop table if exists client_users; drop table if exists client_users;
drop table if exists client_scopes;
drop table if exists scopes;
drop table if exists client_redirect_uris; drop table if exists client_redirect_uris;
drop table if exists clients; drop table if exists client_scopes;
drop table if exists users;
drop table if exists user_scopes; drop table if exists user_scopes;
drop table if exists scopes;
drop table if exists users;
drop table if exists clients;

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<link rel="icon" href="./assets/favicon.ico"/> <link rel="icon" href="./assets/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Career UpRising - Login</title> <title>Auth Service - Login</title>
<script src="https://kit.fontawesome.com/a0fd516b66.js" crossorigin="anonymous"></script> <script src="https://kit.fontawesome.com/a0fd516b66.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="/src/style.css"/> <link rel="stylesheet" href="/src/style.css"/>
</head> </head>

View File

@@ -4,7 +4,8 @@
<template #header> <template #header>
<div class="flex flex-col items-center justify-center"> <div class="flex flex-col items-center justify-center">
<div> <div>
<Image
:src="getImgUrl"
</div> </div>
<div class="text-2xl mt-5"> <div class="text-2xl mt-5">
<span v-if="capabilities.client_name !== ''">{{ capabilities.client_name }}</span> <span v-if="capabilities.client_name !== ''">{{ capabilities.client_name }}</span>
@@ -128,6 +129,11 @@ interface Data {
magicLink: boolean magicLink: boolean
loading: boolean loading: boolean
capabilities: { capabilities: {
branding: {
imageUrl: string,
foregroundColor: string,
backgroundColor: string,
},
client_name: string client_name: string
userPass: boolean userPass: boolean
magicLogin: boolean magicLogin: boolean
@@ -161,6 +167,11 @@ export default defineComponent({
magicLink: false, magicLink: false,
loading: false, loading: false,
capabilities: { capabilities: {
branding: {
imageUrl: '',
foregroundColor: '',
backgroundColor: '',
},
client_name: '', client_name: '',
userPass: false, userPass: false,
magicLogin: false, magicLogin: false,
@@ -212,6 +223,13 @@ export default defineComponent({
} }
}, },
methods: { methods: {
getImgUrl() {
if (this.capabilities.branding.imageUrl !== '') {
return this.capabilities.branding.imageUrl
}
return '/assets/logo.png'
},
date() { date() {
return new Date().getFullYear() return new Date().getFullYear()
}, },