mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-21 15:12:34 +02:00
@@ -57,6 +57,11 @@ Welcome to OpenSign, an open-source document e-signing solution designed to prov
|
||||
- **Completion Certificate**: Generate secure completion certificate as soon as a document is signed by all participants.
|
||||
- **API Support**: Provides a robust API for integration into other software and services.
|
||||
|
||||
<img src=https://github.com/OpenSignLabs/OpenSign/assets/5486116/b37ff443-7099-4273-9aeb-21c46d7154cf height='200'>
|
||||
<img src=https://github.com/OpenSignLabs/OpenSign/assets/5486116/86db91b7-6c2f-4885-a33c-58f4fd35ec89 height='200'>
|
||||
<img src=https://github.com/OpenSignLabs/OpenSign/assets/5486116/56835efd-c40e-42de-a206-20202c293876 height='200'>
|
||||
|
||||
|
||||
---
|
||||
|
||||
### Installation
|
||||
|
||||
@@ -50,7 +50,7 @@ async function AuthLoginAsMail(request) {
|
||||
if (res.data) {
|
||||
resolve(res.data);
|
||||
} else {
|
||||
reject('User not found!');
|
||||
reject('user not found!');
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
@@ -59,25 +59,7 @@ async function AuthLoginAsMail(request) {
|
||||
// user couldn't find lets sign up!
|
||||
})
|
||||
.catch(() => {
|
||||
let user = new Parse.User();
|
||||
user.set('username', email);
|
||||
user.set('email', email);
|
||||
user.set('password', '12345');
|
||||
user
|
||||
.save()
|
||||
.then(token => {
|
||||
var error = token == '' ? true : false;
|
||||
if (error) {
|
||||
reject('result not found!');
|
||||
} else {
|
||||
resolve(token);
|
||||
}
|
||||
})
|
||||
.catch(e => {
|
||||
console.log('error in auth');
|
||||
reject('user already exists!');
|
||||
console.log(e);
|
||||
});
|
||||
reject('user not found!');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
+204
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user