nodeSolidServer / nodeSolidServer/node-solid-server

Don't rely on existence of /profile/card to block sign-up.

オープン
#1,368 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@jaxoncreed がすでに取り組んでいます。

2019年12月10日 から。

主要言語
JavaScript
スター
1.8k
フォーク
308
PR マージ指標
30日以内にマージされた PR はありません

説明

In single-user mode, you can register once.
If you try to register a second time, https://github.com/solid/node-solid-server/blob/master/lib/models/account-manager.js#L111 will notice that ./data/profile/card$.ttl already exists, and respond with a 400.

However, if you manually delete that file, then that means that if someone goes to the Register page, they can take over control of your pod.

For multi-user mode, this would presumably work too, but then you need to "guess" the username for which the profile doc is missing, so it's less likely to occur.

We could change the check for user existence, for instance, (also) check if an oidc user exists, or if a data folder exists at all.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。