Skip to content

Commit 2dd0deb

Browse files
committed
cleanup
1 parent c789ea7 commit 2dd0deb

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

TechStacks/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
// $ dotnet ef database update
5555
var connectionString = Environment.GetEnvironmentVariable("TECHSTACKS_DB") ??
5656
config.GetConnectionString("DefaultConnection");
57-
var dbFactory = new OrmLiteConnectionFactory(connectionString, PostgreSqlDialect.Provider);
58-
using var db = dbFactory.OpenDbConnection();
5957

6058
services.AddDbContext<ApplicationDbContext>(options =>
6159
options.UseNpgsql(connectionString, b => b.MigrationsAssembly(nameof(TechStacks))));

TechStacks/src/shared/gateway.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,8 @@ export const login = async(provider, userName, password) => {
455455
request.provider = provider;
456456
request.userName = userName;
457457
request.password = password;
458-
request.useTokenCookie = true;
459458

460-
var response = await authClient.post(request);
459+
const response = await authClient.post(request);
461460
await getSessionInfo();
462461
return `/${provider}`;
463462
}

0 commit comments

Comments
 (0)