mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-19 23:28:23 -04:00
Make full flow work when running in Chrome extension context (#541)
This commit is contained in:
@@ -38,7 +38,7 @@ class SrpService {
|
||||
mem: settings.MemorySize,
|
||||
parallelism: settings.DegreeOfParallelism,
|
||||
hashLen: 32,
|
||||
type: argon2.ArgonType.Argon2id,
|
||||
type: 2, // 0 = Argon2d, 1 = Argon2i, 2 = Argon2id
|
||||
});
|
||||
|
||||
return hash.hashHex.toUpperCase();
|
||||
|
||||
@@ -16,6 +16,10 @@ export default defineConfig({
|
||||
{
|
||||
src: 'src/images/*',
|
||||
dest: 'images'
|
||||
},
|
||||
{
|
||||
src: 'node_modules/argon2-browser/dist/argon2.wasm',
|
||||
dest: 'src' // Copy to the root of the dist folder
|
||||
}
|
||||
]
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user