Skip to content

Bug:Messages can be sent without logging in. #160

@cmgyqjj

Description

@cmgyqjj

Bug Description
The messages will be sent without the need for logging in when a login attempt is repeated by someone.
If the command :olu is used, it will be observed that it does not display your user ID, despite the ability to send messages.

Can I submit a Pull Request (PR) to fix the bug?

Reproduce
step:

  1. route.start()
  2. server.start()
  3. client1.start() and user1.login()
  4. client2.start() and user1.login()
  5. client2.stop()
  6. user1.sendMessage()

Expected results
The message can be sent by logged-in users; users who are not logged in cannot send messages.

Screenshot
image
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions