Disabling synchronization on authentication doesn't work
See original GitHub issueI’ve all of a sudden started getting an error of app.emit is not a function
when users try to log in. I’ve not be able to work out exactly why but figured it was something to do with feathers-sync
. So I’ve tried to disable it in my authentication hooks but it has no effect.
app.service('authentication').hooks({
before: {
create: [
lowerCase('email'),
authentication.hooks.authenticate(config.strategies),
customizeJWTPayload()
]
},
after: {
create: [
context => {
context[SYNC] = false;
return context;
}
]
}
});
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Password Hash Sync is automatically enabled during Azure ...
Run Azure AD Connect, and then select View current configuration. In the details pane, check whether Password synchronization is enabled on your ...
Read more >Fix account sync issues - Android Help - Google Support
If your phone is having problems syncing with your Google Account, you could see a message, "Sync is currently experiencing problems.
Read more >Disabling password sync entirely - No password field #104
Hi, I'm connected to the AD server and works well, but there's problem in syncing AD's username and password to database while we...
Read more >Disable Chrome / Google Login synchronisation - Super User
Google Chrome now logs you into the browser whenever you log into a google service. You can disable this controversial feature by opening ......
Read more >Disabling Time Synchronization for virtual machines (1189)
VMware Tools does not set time backwards (when guest time is ahead of the host), except once when periodic time synchronization is turned...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in v1.1.1
In fact I don’t think disabling synchronization works at all just tried on another service and
ctx[SYNC]
is always undefined.