Skip to content

Commit

Permalink
✔ Fix Perpendek Token ~
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Feb 1, 2024
1 parent 1998442 commit 0d81bdd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/main-site/server/main.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,10 @@ export class VerifySosmedController {
{
google: {
id: res_json.id,
email: res_json.email,
verified: res_json.verified_email
},
user: {
id: user.id,
username: user.username,
verified: user.verified
}
},
Expand Down Expand Up @@ -269,7 +267,7 @@ export class VerifySosmedController {
info: `😅 201 - Verifikasi API :: User Telah Diverifikasi 🤣`,
result: {
title: 'Akun Telah Diverifikasi!',
message: 'Whoops! Yeay~'
message: 'Yeay! Silahkan Re-Login ulang, keluar & masuk kembali~'
}
};
} else if ('app' in req.body && 'code' in req.body) {
Expand Down
2 changes: 1 addition & 1 deletion projects/main-site/src/api/services/crypto.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { GlobalService } from './global.service';
export class CryptoService {

jwtAlgorithm = (CONSTANTS.jwtAlgorithm as Algorithm);
jwtIssuer = environment.author;
jwtIssuer = environment.domain;
jwtAudience = environment.siteName;
jwtSecretKey = this.hashPassword(environment.jwtSecretKey);
jwtExpiredIn = CONSTANTS.jwtExpiredIn;
Expand Down
2 changes: 1 addition & 1 deletion projects/main-site/src/api/services/discord.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ export class DiscordService {
}
)
);
await interaction.reply({ content: `<@${interaction.user.id}> 😚 .: Berhasil :: ${user.username}@${environment.mailTrap.domain} :. 🤩` });
await interaction.reply({ content: `<@${interaction.user.id}> 😚 .: Yeay! Silahkan Re-Login ulang, keluar & masuk kembali~ :. 🤩` });
}
} else {
await interaction.reply({ content: `<@${interaction.user.id}> Siapa ya? Ini milik orang lain 🤔` });
Expand Down

0 comments on commit 0d81bdd

Please sign in to comment.