feat: update app.db and BACKLOG.md with new decisions and adjustments
All checks were successful
Deploy / deploy (push) Successful in 7m45s
All checks were successful
Deploy / deploy (push) Successful in 7m45s
- Updated the app.db file to reflect recent changes in the application state. - Modified BACKLOG.md to include new entries regarding the removal of certain wizard steps, adjustments to priority chips, and the introduction of special quota conditions for candidates. - Added details on the decision to link priority chips to data sources and clarified the implications for user experience and data handling.
This commit is contained in:
@@ -57,12 +57,18 @@ export async function devAnindaGiris(
|
||||
if (!/^\S+@\S+\.\S+$/.test(temiz)) {
|
||||
return { ok: false, error: "Geçerli bir e-posta gir." };
|
||||
}
|
||||
const g = globalThis as { __sonMagicLink?: string };
|
||||
const g = globalThis as { __sonMagicLink?: string; __devAnindaGiris?: boolean };
|
||||
g.__sonMagicLink = undefined;
|
||||
await auth.api.signInMagicLink({
|
||||
body: { email: temiz, callbackURL: "/" },
|
||||
headers: await headers(),
|
||||
});
|
||||
// Bayrak: auth.ts linki yakalar ve e-posta göndermez (bkz. girisLinkiniIlet)
|
||||
g.__devAnindaGiris = true;
|
||||
try {
|
||||
await auth.api.signInMagicLink({
|
||||
body: { email: temiz, callbackURL: "/" },
|
||||
headers: await headers(),
|
||||
});
|
||||
} finally {
|
||||
g.__devAnindaGiris = false;
|
||||
}
|
||||
if (!g.__sonMagicLink) {
|
||||
return { ok: false, error: "Magic link üretilemedi (auth.ts yakalayamadı)." };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user