perfectlysoft / perfect-localauthentication-postgresql Goto Github PK
View Code? Open in Web Editor NEWLocal Authentication processes and routes
License: Apache License 2.0
Local Authentication processes and routes
License: Apache License 2.0
Comparing Perfect-LocalAuthentication-PostgreSQL with Perfect-LocalAuthentication-MySQL.
The mysql code runs setup code like this: Application.setup()
and AccessToken.setup()
.
However there is no such setup code in the postgresql code.
I think the postgresql code needs the same kind of setup.
I already have a config file system in place, and I don't want more config files.
Please modify initializeSchema so it can take Dictionary<String, Any>
as a parameter.
This way I don't have to provide a dedicated config file, just for initializeSchema()
.
When trying to register a new user, then I'm getting this error in the console:
email.send error: Error(code: 7, description: "Couldn\'t connect to server", response: PerfectCURL.CURLResponse)
The "You are registered"
message is coming from the LocalAuthWebHandlers.registerPost() function. This function does check for errors, but fails to detect that the email couldn't be sent.
Modify the Account.register() function so it checks of the return value from the Utility.sendMail()
function.
Modify the Utility. sendMail() catch block, so it doesn't discards the smtp errors. Perhaps use the smtp code from the mysql repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.