Fix: Username unique index was case sensitive and this allowed duplicate names.

Feature: Moved temporal products into their own module and reverted the products module
This commit is contained in:
tanshu committed 2021-10-27 09:27:47 +05:30
1 parent debe0df7b7
commit 124cf4d9ff
40 files changed
+1522 -313

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ export class LoginComponent implements OnInit, AfterViewInit {
// .pipe(first())
.subscribe(
() => {
this.router.navigate([this.returnUrl]);
this.router.navigateByUrl(this.returnUrl);
},
(error) => {
if (error.status === 401 && error.error.detail === 'Device is not registered') {