CMU-313 / NodeBB

GNU General Public License v3.0
0 stars 223 forks source link

Refactor code in src/controllers/authentication.js #349

Open annashiheart opened 2 months ago

annashiheart commented 2 months ago

Refactoring code in src/controllers/authentication.js to reduce its Cognitive Complexity from 22 to the 15 allowed

Sonarcloud link: https://sonarcloud.io/project/issues?assigned=false&cleanCodeAttributeCategories=ADAPTABLE&directories=src%2Fcontrollers&languages=js&issueStatuses=OPEN%2CCONFIRMED&id=CMU-313_NodeBB&open=AZFmi__IybYwxy-_uEXW

annashiheart commented 2 months ago

I would like to work on this please!

github-actions[bot] commented 2 months ago

Great! I assigned you (@annashiheart) to the issue. Have fun working on it!