@rpcbase/server 0.233.0 → 0.234.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.233.0",
3
+ "version": "0.234.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -51,7 +51,7 @@ const sign_up = async({email, password}, ctx) => {
51
51
  const user_id = user._id.toString()
52
52
  req.session.user_id = user_id
53
53
 
54
- await req.session.save()
54
+ // await req.session.save()
55
55
  await user.save({ctx})
56
56
 
57
57
  return {
@@ -13,7 +13,7 @@ module.exports = (app) => {
13
13
  const session_store_middleware = require("./session_store_middleware")
14
14
  app.use(session_store_middleware)
15
15
  } else {
16
- console.log("using", pc.bold(pc.red("REVERSE-PROXY SESSIONS")), "if you want to use the session store, start with the --sessions argument")
16
+ console.log("using", pc.bold(pc.red("REVERSE-PROXY SESSIONS!")), "if you want to use the session store, start with the --sessions argument")
17
17
 
18
18
  // warn the user
19
19
  if (is_development) {