Skip to content

Commit

Permalink
feat: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Oct 13, 2024
1 parent f043df4 commit c279101
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions keep-ui/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,12 @@ async function refreshAccessToken(token: any) {

// No authentication
const noAuthOptions = {
debug: true,
providers: [
CredentialsProvider({
name: "NoAuth",
credentials: {},
async authorize(credentials, req) {
// Return a static user object with a predefined token
console.log("NoAuth authorize");
return {
id: "keep-user-for-no-auth-purposes",
name: "Keep",
Expand Down

0 comments on commit c279101

Please sign in to comment.